package com.zby.big_event_zby.learnTest;

/**
 * @version 1.0
 * @auther ZBY
 */
public class CupNum {
    public static void main(String[] args) {

        //查看cup数量
        Runtime runtime = Runtime.getRuntime();
        int i = runtime.availableProcessors();
        System.out.println(i);

    }
}
